
from selenium import webdriver

wb=webdriver.Chrome()
wb.maximize_window()
wb.get('http://localhost:63342/zhtj/upload.html')
print(wb.find_element_by_id('file').get_attribute('outerHTML'))
wb.find_element_by_id('file').send_keys(r'/home/m/tst.c')
print(wb.find_element_by_id('file').get_attribute('value'))